<!DOCTYPE html>
 <html lang=en>
 <head>
 <title>Lims</title>
 <meta http-equiv=Content-Type content="text/html; charset=utf-8" /> 
    <link rel="icon" type="image/ico" href="favicon.html"/>
    <link href="/template/css/stylesheets.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/template/js/plugins/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="/template/js/plugins/jquery/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/template/js/plugins/jquery/jquery-migrate.min.js"></script>
    <script type="text/javascript" src="/template/js/plugins/jquery/globalize.js"></script>
    <script type="text/javascript" src="/template/js/plugins/bootstrap/bootstrap.min.js"></script>
    <script type="text/javascript" src="/template/js/plugins/uniform/jquery.uniform.min.js"></script>
    <script type="text/javascript" src="/template/js/js.js"></script>
    <script type="text/javascript" src="/template/js/settings.js"></script>
 </head>
 <body class=bg-img-num1>
    <div class=container>
        <div class=login-block>
            <div class="block block-transparent">
                <div class=head>
                    <div class=user>
                        <div class="info user-change">
                            <img src="/template/img/user.jpg" class="img-circle img-thumbnail"/>
                            <div class=user-change-button>
                                <span class=icon-off></span>
                            </div>
                        </div>
                    </div>
                </div>
                <form action="{{path('lims_user_management_execute')}}" method="post" >
                    <div class="content controls npt">
                        
                        {% for flashMessage in app.session.flashbag.get('error') %}            
                        <div class="form-row">
                            <div class=col-md-12>
                                <div class=input-group>
                                    <div>
                                        {{ flashMessage | raw}}
                                    </div>
                                </div>
                            </div>
                        </div>
                        {% endfor %}
                        
                        <div class="form-row">
                            <div class=col-md-12>
                                <div class=input-group>
                                    <div class=input-group-addon>
                                        <span class=icon-user></span>
                                    </div>
                                    <input type="text" class="form-control" placeholder="Login" name="username" required="true" value="{% if lastUsername is not null %}{{lastUsername}}{% endif %}"/>
                                </div>
                            </div>
                        </div>
                        <div class=form-row>
                            <div class=col-md-12>
                                <div class=input-group>
                                    <div class=input-group-addon>
                                        <span class=icon-key></span>
                                    </div>
                                    <input type="password" class="form-control" placeholder="Password" name="password" required="true"/>
                                </div>
                            </div>
                        </div>
                        <div class=form-row>
                            <div class=col-md-6>
                                <a href=# class="btn btn-default btn-block btn-clean">Бүртгүүлэх</a>
                            </div>
                            <div class=col-md-6>
                                <input type="submit" value="Нэвтрэх" class="btn btn-default btn-block btn-clean">
                            </div>
                        </div>
                        <div class=form-row>
                            <div class=col-md-12>
                                <a href=# class="btn btn-link btn-block">Нууц үг мартсан</a>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
        </div>
 </div>
 </body>
 </html>
